package com.lzm.niuKeBiz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author nd
 * @since 2021-09-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="DeptManager对象", description="")
public class DeptManager extends Model<DeptManager> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "dept_no", type = IdType.INPUT)
    private String deptNo;

    private Integer empNo;

    private Date toDate;


    @Override
    protected Serializable pkVal() {
        return this.deptNo;
    }

}
